<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link th:href="@{webjars/bootstrap/3.3.5/css/bootstrap-theme.css}" type="text/css" rel="stylesheet">
    <link th:href="@{webjars/bootstrap/3.3.5/css/bootstrap.css}" type="text/css" rel="stylesheet">
    <script th:src="@{webjars/jquery/3.2.1/dist/jquery.js}" type="text/javascript"></script>
    <script th:src="@{webjars/bootstrap/3.3.5/js/bootstrap.js}" type="text/javascript"></script>
</head>
<body>
<div class="row">
    <form class="form-horizontal col-md-3 col-md-offset-5" method="post" action="/suibian">
        <span th:if="${loginFail}=='T'" style="color: red;">用户名或者密码错误</span>
        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">用户名</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" id="inputEmail3" name="username">
            </div>
        </div>
        <div class="form-group">
            <label for="inputPassword3" class="col-sm-2 control-label">密码</label>
            <div class="col-sm-10">
                <input type="password" class="form-control" id="inputPassword3" name="password">
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <div class="checkbox">
                    <label>
                        <input type="checkbox" name="remember-me"> 记住密码
                    </label>
                </div>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-default">登录</button>
            </div>
        </div>
    </form>
</div>
</body>
</html>